package cn.ac.jaas.isc.vegetable.codegen;

import cn.ac.jaas.isc.vegetable.common.datasource.annotation.EnableDynamicDataSource;
import cn.ac.jaas.isc.vegetable.common.feign.annotation.EnableVegetableFeignClients;
import cn.ac.jaas.isc.vegetable.common.security.annotation.EnableVegetableResourceServer;
import cn.ac.jaas.isc.vegetable.common.swagger.annotation.EnableVegetableSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author 张高昌
 * @date 2022/4/30 15:08
 * @description: 代码生成模块
 */
@EnableDynamicDataSource
@EnableVegetableSwagger2
@EnableVegetableFeignClients
@EnableDiscoveryClient
@EnableVegetableResourceServer
@SpringBootApplication
public class VegetableCodeGenApplication {

    public static void main(String[] args) {
        SpringApplication.run(VegetableCodeGenApplication.class, args);
    }
}
